package com.cnswhy.cloud.server.core.dto;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.cnswhy.cloud.common.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.cnswhy.cloud.common.core.base.entity.SuperEntity;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 
 * </p>
 *
 * @author cnswhy
 * @since 2020-10-16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "SpellPriceUpdateDTO", description = "")
public class SpellPriceUpdateDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @NotNull(message = "id不能为空", groups = SuperEntity.Update.class)
    private Long id;

    @ApiModelProperty(value = "")
    @Length(max = 100, message = "长度不能超过100")
    private String title;
    /**
     * 拼团人数
     */
    @ApiModelProperty(value = "拼团人数")
    private Integer successPeople;
    /**
     * 每天参团次数
     */
    @ApiModelProperty(value = "每天参团次数")
    private Integer joinNum;
    /**
     * 没有免中特权人数
     */
    @ApiModelProperty(value = "没有免中特权人数")
    private Integer successNum;
    /**
     * 赠送免中特权次数
     */
    @ApiModelProperty(value = "赠送免中特权次数")
    private Integer failPrivilege;
    /**
     * 1正常2禁用
     */
    @ApiModelProperty(value = "1正常2禁用")
    private Integer status;
    /**
     * 拼团成功增加贡献值
     */
    @ApiModelProperty(value = "拼团成功增加贡献值")
    private BigDecimal contributionValue;
    /**
     * 拼团成功为推荐人累加爱拼值
     */
    @ApiModelProperty(value = "拼团成功为推荐人累加爱拼值")
    private BigDecimal spellValue;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer sortOrder;
    @ApiModelProperty(value = "")
    private BigDecimal participationAward;


    @ApiModelProperty(value = "拼购券商品兑换次数")
    private Integer shopProductValue;
}
